/// Author: QP
/// Version: 1.0
/// Date:2021/07/01
/// 用药管理章节-条目表
Class HCC.SQL.Document.MedicationAdministered Extends (%Persistent, %XML.Adaptor, HCC.SQL.Base) [ CompileAfter = HCC.SQL.Base ]
{

Parameter SectionCode = "18610-6";

Parameter SectionName = "MEDICATION ADMINISTERED";

Parameter SectionCodeSystemOID = "2.16.840.1.113883.6.1";

Parameter SectionCodeSystem = "LOINC";

/// 文档号
Relationship DocumentNo As HCC.SQL.Document(XMLPROJECTION = "NONE") [ Cardinality = parent, Inverse = MedicationAdministereds ];

/// 药物使用途径代码
Property route As WS.DE.DE060013400 [ SqlFieldName = route ];

/// 单次用药剂量
Property dose As WS.DE.DE085002300 [ SqlFieldName = dose ];

/// 药物使用频率
Property rate As WS.DE.DE060013300 [ SqlFieldName = rate ];

/// 药物剂型代码
Property form As WS.DE.DE085001100 [ SqlFieldName = form ];

/// 药物名称
Property name As WS.DE.DE085002200 [ SqlFieldName = name ];

/// 药物用法
Property usage As WS.DE.DE060013600 [ SqlFieldName = usage ];

/// 中药使用类别代码
Property TCMUsage As WS.DE.DE060016400 [ SqlFieldName = TCM_usage ];

/// 药物使用剂量单位
Property unit As WS.DE.DE085002400 [ SqlFieldName = unit ];

/// 药物使用总剂量
Property totalDose As WS.DE.DE060013500 [ SqlFieldName = total_dose ];

/// 药物代码
Property code As %String [ SqlFieldName = code ];


}
